#include <windows.h>

int main()
{
	typedef void (PrintIt)(char*);
	PrintIt *pfunc = NULL;

	HINSTANCE hDLLDrv = LoadLibrary("PrintIt.dll");

	if(hDLLDrv)
	{
		pfunc = (PrintIt *)GetProcAddress(hDLLDrv, "print_it");
		pfunc("hello,world");
	}
	else
	{
		printf("load library error \n");
	}
}